﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Globalization;

namespace Os.WebUI.Controllers
{
    public class CalendarioController : Controller
    {
        //
        // GET: /Calendario/

        public ActionResult Index(int ano, int mes)
        {
            GregorianCalendar calendar = new GregorianCalendar();

            ViewData["mes"] = mes;
            ViewData["ano"] = ano;
            ViewData["qtdeDias"] = calendar.GetDaysInMonth(ano, mes);

            return View();
        }

    }
}
